package com.roger.cmdkit.demo;

public class DataErrorException extends Exception {

    private String name;

    private int age;

    String getName(){
        return this.name;
    }

    Integer getAge(){
        return this.age;
    }

    DataErrorException (String name,int age){
        this.name=name;
        this.age=age;
    }
}
